Skip to content

test(infra): add coverage post-processing and update test runner - #310

Merged
deepin-bot[bot] merged 1 commit into
linuxdeepin:masterfrom
pengfeixx:feat/cov-infra
Jul 22, 2026
Merged

test(infra): add coverage post-processing and update test runner#310
deepin-bot[bot] merged 1 commit into
linuxdeepin:masterfrom
pengfeixx:feat/cov-infra

Conversation

@pengfeixx

Copy link
Copy Markdown
Contributor

New exclude_unreachable.py removes compiler-generated D0Ev destructors and Q_OBJECT tr() from coverage data. Update test-prj-running.sh to invoke the script after lcov collection. Extend ut_utils with setCurrentFilePath. Update .gitignore to exclude coverage.info.

新增 exclude_unreachable.py 排除编译器生成的不可测函数。
更新 test-prj-running.sh 集成后处理步骤。扩充 ut_utils。

Log: 新增覆盖率后处理脚本与基础设施
Influence: 流水线覆盖率报告排除不可测函数后达到 100%。

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @pengfeixx, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

New exclude_unreachable.py removes compiler-generated D0Ev destructors
and Q_OBJECT tr() from coverage data. Update test-prj-running.sh to
invoke the script after lcov collection. Extend ut_utils with
setCurrentFilePath. Update .gitignore to exclude coverage.info.

新增 exclude_unreachable.py 排除编译器生成的不可测函数。
更新 test-prj-running.sh 集成后处理步骤。扩充 ut_utils。

Log: 新增覆盖率后处理脚本与基础设施
Influence: 流水线覆盖率报告排除不可测函数后达到 100%。
@deepin-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: lzwind, pengfeixx

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@pengfeixx

Copy link
Copy Markdown
Contributor Author

/merge

@deepin-bot
deepin-bot Bot merged commit 4eb3622 into linuxdeepin:master Jul 22, 2026
11 checks passed
@pengfeixx
pengfeixx deleted the feat/cov-infra branch July 22, 2026 05:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants